/*
 * @(#)PaymentHistoryBean.java 创建于 2016-05-23 15:18:52
 *
 * 版权：版权所有 Bsoft 保留所有权力。
 */
package hcn.protocol.ods.inpatient;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author <a href="mailto:chinnsii@163.com">zhengshi</a>
 */
@XmlRootElement(name = "paymentHistory")
@SuppressWarnings("serial")
public class PaymentHistoryBean implements Serializable {

    private String inpatientSerialNo;
    private String patientName;
    private double payedAmount;
    private List<PaymentRecordBean> records = new ArrayList<PaymentRecordBean>();

    @XmlElement
    public String getInpatientSerialNo() {

        return inpatientSerialNo;
    }

    public void setInpatientSerialNo(String inpatientSerialNo) {
        this.inpatientSerialNo = inpatientSerialNo;
    }

    @XmlElement
    public String getPatientName() {

        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    @XmlElement
    public double getPayedAmount() {
        return payedAmount;
    }

    public void setPayedAmount(double payedAmount) {
        this.payedAmount = payedAmount;
    }

    @XmlElement(name = "record")
    public List<PaymentRecordBean> getRecords() {
        return records;
    }

    public void setRecords(List<PaymentRecordBean> records) {
        this.records = records;
    }

}
